<!-- chuck 20170221 内勤-片区配置列表界面 1-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <title>首页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div    id="content">
    <section class="content-header">
        <h1>
            <i class="fa fa-dashboard"></i>
            <strong>内勤-片区配置</strong>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-home "></i>Home</a></li>
            <li>团队管理</li>
            <li class="active">内勤-片区配置</li>
        </ol>
    </section>
    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-md-12">
                <div class="box box-info">
                    <div class="box-header with-border">
                        <i class="fa fa-th-list"></i>
                        <h4 class="box-title">内勤-片区配置查询</h4>
                    </div>
                    <div class="box-body">
                        <div class="form-inline">
                            <div class="input-group">
                                <input type="text" class="form-control" id="search"  placeholder="Search..."/>
                                <span class="input-group-btn">
											<button type="button" id="searchBtn" name="search" class="btn btn-info searchBtn" >查询</button>
									   		<button type="button" id="resetBtn" name="reset" class="btn btn-info resetBtn">撤消</button>
                                            <!-- <button type="button" class="btn btn-info import">excel导出</button> -->
									   </span>
                            </div>
                            <div class="btn-group pull-right">
						 	<button th:if="${module.canAdd==true}" id="addBtn" type="button" class="btn btn-info  addBtn" >添加</button>
							<button th:if="${module.canModify==true}" id="editBtn" type="button" class="btn btn-info   editBtn">编辑</button>
						    <button th:if="${module.canDelete==true}" id="delBtn" type="button" class="btn btn-info  delBtn" >删除</button>
					</div>
                        </div>
                    </div>
                    <div class="box box-body" style="width:100%;overflow-x:scroll;">
                        <table id="dataTable" class="mytable dataTable table-bordered text-center table-striped table-hover" cellspacing="0" width="100%" align="center">
                            <thead>
                            <tr>
                                <th width="8%">序号</th>
								<th width="8%"><input type="checkbox" id="checkAllContract"/></th>
								<th>部门</th>
								<th>内勤</th>
								<th>片区</th>
								<th>类型</th>
                            </tr>
                            </thead>
                            <tbody>
                            
                            </tbody>
                        </table>
                   </div>
                </div>
           </div>
        </div>
    </section>
    <!-- 内勤-片区配置添加 -->
    <div class="modal" id="addExdeDutyArea">
		<div class="modal-dialog" role="dialog">
			<form id="ExdeDutyAreaForm">
				<input class="form-control" type="hidden" id="id_ExdeDutyArea" name="id_ExdeDutyArea" />
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"
							aria-label="Close">
							<span aria-hidden="true">&times;</span>
						</button>
						<h4 class="modal-title">
							<strong>内勤-片区配置新增</strong>
						</h4>
					</div>
					<div class="modal-body">
						<div class="form-horizontal">
							<div class="form-group">
								<label class="col-sm-2 control-label">部门</label>
								<div class="col-sm-4">
								   <div class="col-md-11">
									<input class="form-control" type="text" name="superior" id="superior" readonly="readonly" th:value="${superior}" />
								   </div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">类型</label>
								<div class="col-sm-4">
								   <div class="col-md-11">
                                 		<select class="form-control" id="type" name="type" datatype="*,*1-100,t" nullmsg="请选择类型" style="width: 100%">
											<option></option>
											<option value="主机">主机</option>
											<option value="备件">备件</option>
										</select>
                             		</div>
                              		<div class="col-md-1">
                  						<span style="color:#F00">*</span>
                					</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">片区</label>
								<div class="col-sm-4">
								   <div class="col-md-11">
                                 		<select class="form-control" id="areaName" name="areaName" datatype="*,*1-100,t" nullmsg="请选择片区" style="width: 100%">
											<option></option>
											<option th:each="saleArea:${saleArea}"
												th:text="${saleArea.areaName}"></option>
										</select>
                             		</div>
                              		<div class="col-md-1">
                  						<span style="color:#F00">*</span>
                					</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">责任人</label>
								<div class="col-sm-4">
								   <div class="col-md-11">
                                 		<select class="form-control" id="dutyPersonName" name="dutyPersonName" datatype="*,*1-100,t" nullmsg="请选择责任人" style="width: 100%">
											<option></option>
											<option th:each="user:${user}"
												th:text="${user.empLogin.name}"></option>
										</select>
                             		</div>
                              		<div class="col-md-1">
                  						<span style="color:#F00">*</span>
                					</div>
								</div>
							</div>						
						</div>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-info" id="save_ExdeDutyArea">保存</button>
						<button type="button" class="btn btn-default"
							data-dismiss="modal">返回</button>
					</div>
				</div>
			</form>
		</div>
	</div>
	<!-- 内勤-片区配置添加 -->
    <script th:src="@{/insideConfiguration/insideconfigurationindex.js}"></script>
</div>
</body>
</html>